{__NOLAYOUT__}
<div class="prompt-pop" data-type="column" id="<?php echo $funcid ?>" style="z-index: {$zindex};" funcid="{$funcid}" last-url="{$__last_url}">
    <div class="title">
        <span class="pop-name">设置显示列</span>
        <a href="javascript:void(0);" onclick="$(this).parents('.prompt-pop').remove();_asr.closePopup('{$funcid}');" class="close iconfont">&#xe60d;</a>
    </div>
    <div class="blank10"></div>
    <div class="table-box">
        <div class="table-in">
            <form action="<?php echo U("$summary/index?func=columnsettingsave"); ?>" id="<?php echo "$funcid"; ?>-columnsetting" method="get">
            <input type="hidden" name="<?php echo "$funcid"; ?>-last-url" id="<?php echo "$funcid"; ?>-last-url" value="<?php echo $__last_url; ?>" />
            <input type="hidden" name="funcid" value="<?php echo "$funcid"; ?>" />
            <input type="hidden" name="pfuncid" value="<?php echo "$pfuncid"; ?>" />
            <input type="hidden" name="user_id" value="<?php echo $user_id; ?>" />
            <input type="hidden" name="summary" value="<?php echo $summary; ?>" />
            <table border="0" cellspacing="0" cellpadding="0" class="pub-table-set">
                <tbody>
                   <?php foreach($column as $k=>$master){ ?>
                     <tr>
                       <td>
                          <input type="checkbox" name="column_check[{$k}]" <?php if($column_check[$k]==1){ ?> checked <?php } ?> value="1">
                          <input type="hidden" name="column[{$k}]" value="0">
                       </td>
                       <td>
                          {$master}
                       </td>
                     </tr>
                   <?php } ?>
                </tbody>
            </table>
            </form>
            <div class="blank10"></div>
        </div></div>
    <div class="blank10"></div>
    <div class="pop-sub abe-txtc" >
        <input type="button" value="保存" class="btn btn-org mrg_10" default-status="1" onclick="return _asr.submit('<?php echo "$funcid"; ?>', '<?php echo "$funcid"; ?>-Search', '<?php echo U("$summary/index?func=columnsettingsave&") ?>',''); " />
        <em class="abe-space-sm"></em>
        <input type="button" value="清除" class="btn btn-blue mrg_10"  onclick="return cl<?php echo $funcid; ?>_earsetting('<?php echo "$funcid"; ?>-columnsetting');" default-status="1" />
    </div>
    <div class="blank50"></div>
</div>

    <script>
        function <?php echo $funcid; ?>_clearsetting(_frm){
            _asr.setvaluebyname(_frm,"%%field.controlname%%",@#if[default]@"%%field.default%%"@#else@""@end.#if@);  
        }
    </script>
